package com.jgp.security.controller;

import com.jgp.sys.controller.JGPBackController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2019-11-03
 */
@Controller
@RequestMapping("/security/role-ctl")
public class RoleController extends JGPBackController {

    @RequestMapping("role-mgr")
    public String roleMgr(){
        return page("role-mgr");
    }
    
    
    @RequestMapping("edit-role-item")
    public String editRoleItem(Long id,Long parentId, Model model) {
        re(model,"id",id);
        re(model,"parentId",parentId);
        return page("edit-role-item");
    }
    
}
